@import tool.ReportPojo.ReportData
@(resultPath: String, data: ReportData, i: Int)
<p class="paragraph">
	Volcano Plot displays fold change (FC) and p value of each metabolite. In this project, threshold value for differential metabolites selection is:
	<br>（1）P < @(data.configDatas(i).pValue)
@if(data.configDatas(i).fdr.toDouble >= 1) {
	<br>（2）|log2FC| >= @(data.configDatas(i).log2FC)
} else {
	<br>（2）FDR < @(data.configDatas(i).fdr)
	<br>（3）|log2FC| >= @(data.configDatas(i).log2FC)
}

</p>
<p class="paragraph">
	In volcano plot, compared with @(data.configDatas(i).groups(0)), differential metabolites(points with red highlight) in the right top corner are increased in @(data.configDatas(i).groups(1)) and differential metabolites(points with blue highlight) in the left top corner are decreased in @(data.configDatas(i).groups(1)).
</p>
<div class="noInNewPage">
	<p class="name_table">Figure @(i + 1)-6 Volcano plot of Univariate Statistics</p>
	<p class="center">
		<img class="wid2" src="@(resultPath)Treatment/@(data.treats(i))/@(data.resultDatas(i).uniDir)/Volcano_Plot.png" />
	</p>
</div>

<p class="paragraph">
	According to the threshold value, @(data.resultDatas(i).uniDiffSize) qualified differential metabolites are selected.
</p>
<p class="paragraph">
	P value, basic information and FC of the differential metabolites are shown in
	<a href="@(resultPath)Treatment/@(data.treats(i))/@(data.resultDatas(i).uniDir)/AllMet_Test.csv">
		AllMet_Test.csv</a>
	<a href="@(resultPath)Treatment/@(data.treats(i))/@(data.resultDatas(i).uniDir)" target="_blank"><span class="fa fa-folder-open"></span></a>
</p>
	@if(data.resultDatas(i).uniDiffSize != 0) {
		<p class="paragraph">
			Z Score dot plot of the differential metabolites is shown in
			<a href="@(resultPath)Treatment/@(data.treats(i))/@(data.resultDatas(i).uniDir)/Z_Score_Plot.pdf" target="_blank">
				Z_Score_Plot.pdf
			</a>
			<a href="@(resultPath)Treatment/@(data.treats(i))/@(data.resultDatas(i).uniDir)" target="_blank"><span class="fa fa-folder-open"></span></a>
		</p>
		<p class="paragraph">
			Boxplot of top 9 differential metabolites ordered by P value are shown in Figure @(i + 1)-7
		</p>
		<p class="paragraph">
			Boxplot of all differential metabolites are shown in
			<a href="@(resultPath)Treatment/@(data.treats(i))/@(data.resultDatas(i).uniDir)/AllMet_Boxplot.pdf" target="_blank">
				AllMet_Boxplot.pdf
			</a>
			<a href="@(resultPath)Treatment/@(data.treats(i))/@(data.resultDatas(i).uniDir)" target="_blank"><span class="fa fa-folder-open"></span></a>
		</p>
		<p class="paragraph">
			Box-scatter plot of all differential metabolites are shown in
			<a href="@(resultPath)Treatment/@(data.treats(i))/@(data.resultDatas(i).uniDir)/AllMet_Boxplot_with_Points.pdf" target="_blank">
				AllMet_Boxplot_with_Point.pdf
			</a>
			<a href="@(resultPath)Treatment/@(data.treats(i))/@(data.resultDatas(i).uniDir)" target="_blank"><span class="fa fa-folder-open"></span></a>
		</p>
		<p class="paragraph">
			Violin plot of all differential metabolites are shown in
			<a href="@(resultPath)Treatment/@(data.treats(i))/@(data.resultDatas(i).uniDir)/AllMet_Vioplot.pdf" target="_blank">
				AllMet_Vioplot.pdf
			</a>
			<a href="@(resultPath)Treatment/@(data.treats(i))/@(data.resultDatas(i).uniDir)" target="_blank"><span class="fa fa-folder-open"></span></a>
		</p>
		<p class="name_table">Figure @(i + 1)-7 Boxplot of Differential Metabolites based on Univariate Statistics</p>
		<p class="center">
			<img class="wid2" src="@(resultPath)Treatment/@(data.treats(i))/@(data.resultDatas(i).uniDir)/AllMet_Boxplot.png" />
		</p>
	}



